Lettuce: PyTorch-Based Lattice Boltzmann Framework

نویسندگان

چکیده

The lattice Boltzmann method (LBM) is an efficient simulation technique for computational fluid mechanics and beyond. It based on a simple stream-and-collide algorithm Cartesian grids, which easily compatible with modern machine learning architectures. While it becoming increasingly clear that deep can provide decisive stimulus classical techniques, recent studies have not addressed possible connections between LBM. Here, we introduce Lettuce, PyTorch-based LBM code threefold aim. Lettuce enables GPU accelerated calculations minimal source code, facilitates rapid prototyping of models, integrating simulations PyTorch's automatic differentiation facility. As proof concept combining the LBM, neural collision model developed, trained doubly periodic shear layer then transferred to different flow, decaying turbulence. We also exemplify added benefit framework in flow control optimization. To this end, spectrum forced isotropic turbulence maintained without further constraining velocity field. freely available from https://github.com/lettucecfd/lettuce.

برای دانلود باید عضویت طلایی داشته باشید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

From Lattice Boltzmann Method to Lattice Boltzmann Flux Solver

Based on the lattice Boltzmann method (LBM), the lattice Boltzmann flux solver (LBFS), which combines the advantages of conventional Navier–Stokes solvers and lattice Boltzmann solvers, was proposed recently. Specifically, LBFS applies the finite volume method to solve the macroscopic governing equations which provide solutions for macroscopic flow variables at cell centers. In the meantime, nu...

متن کامل

Lattice Boltzmann-Langevin Equations

Intrinsic fluctuations around the solution of the lattice Boltzmann equation are described or modeled by addition of a white Gaussian noise source. For stationary states a fluctuation-dissipation theorem relates the variance of the fluctuations to the linearized Boltzmann collision operator and the pair correlation function.

متن کامل

Matrix lattice Boltzmann reloaded.

The lattice Boltzmann equation was introduced about 20 years ago as a new paradigm for computational fluid dynamics. In this paper, we revisit the main formulation of the lattice Boltzmann collision integral (matrix model) and introduce a new two-parametric family of collision operators, which permits us to combine enhanced stability and accuracy of matrix models with the outstanding simplicity...

متن کامل

Lattice Boltzmann method

Lattice Boltzmann method is relatively new method in the field of computational fluid dynamics. It has been derived from lattice gas automata and is still under development. Basic steps of the LBM (collision, streaming, boundary conditions, macroscopic quantities) will be presented. Comparison with the finite difference method that uses Navier-Stokes equation on a lid driven cavity benchmark te...

متن کامل

Lattice - Boltzmann Lighting Models

In this chapter, we present a GPU-based implementation of a photon transport model that is particularly effective in global illumination of participating media, including atmospheric geometry such as clouds, smoke, and haze, as well as densely placed, translucent surfaces. The model provides the “perfect” GPU application in the sense that the kernel code can be structured to minimize control fl...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

ژورنال

عنوان ژورنال: Lecture Notes in Computer Science

سال: 2021

ISSN: ['1611-3349', '0302-9743']

DOI: https://doi.org/10.1007/978-3-030-90539-2_3